package com.whp.openapi.service;

import com.whp.openapi.common.ResponseResult;
import com.whp.openapi.common.ResultTable;
import com.whp.openapi.entity.Customer;

import java.util.List;

/**
 * @author whp
 * @date 2021/11/25
 */
public interface CustomerService {
    ResultTable table(Integer page, Integer limit, String name, Integer state);

    ResponseResult delCustomer(Integer[] ids);

    ResponseResult addCustomer(Customer customer);

    ResponseResult updateCustomer(Customer customer);

    List<Customer> getAllCustomer();
}
